Azure Communication Chat Service (stable:2025-03-15)

2025/07/24 • 8 updated methods

ChatThread_ListChatReadReceipts (updated)
Description Gets chat message read receipts for a thread.
Reference Link ¶

⚶ Changes

{
  "#id": "ChatThread_ListChatReadReceipts",
  "$responses": {
    "200": {
      "$properties": {
        "value": {
          "$properties": {
            "senderCommunicationIdentifier": [
              {
                "#name": "kind",
                "Enum": {
                  "new": [
                    [
                      "unknown",
                      ""
                    ],
                    [
                      "communicationUser",
                      ""
                    ],
                    [
                      "phoneNumber",
                      ""
                    ],
                    [
                      "microsoftTeamsUser",
                      ""
                    ],
                    [
                      "microsoftTeamsApp",
                      ""
                    ],
                    [
                      "teamsExtensionUser",
                      ""
                    ]
                  ],
                  "old": [
                    [
                      "unknown",
                      ""
                    ],
                    [
                      "communicationUser",
                      ""
                    ],
                    [
                      "phoneNumber",
                      ""
                    ],
                    [
                      "microsoftTeamsUser",
                      ""
                    ],
                    [
                      "microsoftTeamsApp",
                      ""
                    ]
                  ]
                }
              },
              {
                "phoneNumber": [
                  {
                    "#name": "value",
                    "Description": {
                      "new": "The phone number, usually in E.164 format.",
                      "old": "The phone number in E.164 format."
                    }
                  },
                  {
                    "@added_c1cd173599f344bc8062b1e50268b896": {
                      "#name": "isAnonymous",
                      "Description": "True if the phone number is anonymous. By default false if missing. If the phone number is anonymous, the value will be the string 'anonymous'.",
                      "Required": false,
                      "Type": "boolean"
                    }
                  },
                  {
                    "@added_dd9bea071a5d4830bfe415ee80f25442": {
                      "#name": "assertedId",
                      "Description": "The asserted Id of the phone number. An asserted Id gets generated when the same phone number joins the same call more than once.",
                      "Required": false,
                      "Type": "string"
                    }
                  }
                ]
              },
              {
                "microsoftTeamsUser": [
                  {
                    "#name": "userId",
                    "Description": {
                      "new": "The Id of the Microsoft Teams user. If not anonymous, this is the Entra ID object Id of the user.",
                      "old": "The Id of the Microsoft Teams user. If not anonymous, this is the AAD object Id of the user."
                    }
                  }
                ]
              },
              {
                "@added_a39eeed1e6e9470a982eb3f7e45fe00e": {
                  "#name": "teamsExtensionUser",
                  "Description": "The Microsoft Teams Extension user.",
                  "Required": false,
                  "Type": "object",
                  "$properties": [
                    {
                      "#name": "userId",
                      "Description": "The Id of the Microsoft Teams Extension user, i.e. the Entra ID object Id of the user.",
                      "Required": true,
                      "Type": "string"
                    },
                    {
                      "#name": "tenantId",
                      "Description": "The tenant Id of the Microsoft Teams Extension user.",
                      "Required": true,
                      "Type": "string"
                    },
                    {
                      "#name": "resourceId",
                      "Description": "The Communication Services resource Id.",
                      "Required": true,
                      "Type": "string"
                    },
                    {
                      "#name": "cloud",
                      "Description": "The cloud that the Microsoft Teams Extension user belongs to. By default 'public' if missing.",
                      "Enum": [
                        [
                          "public",
                          ""
                        ],
                        [
                          "dod",
                          ""
                        ],
                        [
                          "gcch",
                          ""
                        ]
                      ],
                      "Required": false,
                      "Type": "string"
                    }
                  ]
                }
              }
            ]
          }
        }
      }
    }
  }
}

⚼ Request

GET:  /chat/threads/{chatThreadId}/readReceipts
{
chatThreadId: string ,
maxPageSize: integer ,
skip: integer ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
senderCommunicationIdentifier:
{
kind: enum ,
rawId: string ,
communicationUser:
{
id: string ,
}
,
phoneNumber:
{
value: string ,
isAnonymous: boolean ,
assertedId: string ,
}
,
microsoftTeamsUser:
{
userId: string ,
isAnonymous: boolean ,
cloud: enum ,
}
,
microsoftTeamsApp:
{
appId: string ,
cloud: enum ,
}
,
teamsExtensionUser:
{
userId: string ,
tenantId: string ,
resourceId: string ,
cloud: enum ,
}
,
}
,
chatMessageId: string ,
readOn: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (401)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror: string ,
}
,
}

⚐ Response (403)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror: string ,
}
,
}

⚐ Response (429)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror: string ,
}
,
}

⚐ Response (503)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror: string ,
}
,
}
ChatThread_ListChatMessages (updated)
Description Gets a list of messages from a thread.
Reference Link ¶

⚶ Changes

{
  "#id": "ChatThread_ListChatMessages",
  "$responses": {
    "200": {
      "$properties": {
        "value": {
          "$properties": {
            "content": [
              {
                "participants": {
                  "$properties": {
                    "communicationIdentifier": [
                      {
                        "#name": "kind",
                        "Enum": {
                          "new": [
                            [
                              "unknown",
                              ""
                            ],
                            [
                              "communicationUser",
                              ""
                            ],
                            [
                              "phoneNumber",
                              ""
                            ],
                            [
                              "microsoftTeamsUser",
                              ""
                            ],
                            [
                              "microsoftTeamsApp",
                              ""
                            ],
                            [
                              "teamsExtensionUser",
                              ""
                            ]
                          ],
                          "old": [
                            [
                              "unknown",
                              ""
                            ],
                            [
                              "communicationUser",
                              ""
                            ],
                            [
                              "phoneNumber",
                              ""
                            ],
                            [
                              "microsoftTeamsUser",
                              ""
                            ],
                            [
                              "microsoftTeamsApp",
                              ""
                            ]
                          ]
                        }
                      },
                      {
                        "phoneNumber": [
                          {
                            "#name": "value",
                            "Description": {
                              "new": "The phone number, usually in E.164 format.",
                              "old": "The phone number in E.164 format."
                            }
                          },
                          {
                            "@added_9d80433bbcf847ef8d4e31750316b8b1": {
                              "#name": "isAnonymous",
                              "Description": "True if the phone number is anonymous. By default false if missing. If the phone number is anonymous, the value will be the string 'anonymous'.",
                              "Required": false,
                              "Type": "boolean"
                            }
                          },
                          {
                            "@added_54c258cd9ba34a7fb8819e08a0d5f676": {
                              "#name": "assertedId",
                              "Description": "The asserted Id of the phone number. An asserted Id gets generated when the same phone number joins the same call more than once.",
                              "Required": false,
                              "Type": "string"
                            }
                          }
                        ]
                      },
                      {
                        "microsoftTeamsUser": [
                          {
                            "#name": "userId",
                            "Description": {
                              "new": "The Id of the Microsoft Teams user. If not anonymous, this is the Entra ID object Id of the user.",
                              "old": "The Id of the Microsoft Teams user. If not anonymous, this is the AAD object Id of the user."
                            }
                          }
                        ]
                      },
                      {
                        "@added_e6cd1f1e486045919635cb6eb2cb9838": {
                          "#name": "teamsExtensionUser",
                          "Description": "The Microsoft Teams Extension user.",
                          "Required": false,
                          "Type": "object",
                          "$properties": [
                            {
                              "#name": "userId",
                              "Description": "The Id of the Microsoft Teams Extension user, i.e. the Entra ID object Id of the user.",
                              "Required": true,
                              "Type": "string"
                            },
                            {
                              "#name": "tenantId",
                              "Description": "The tenant Id of the Microsoft Teams Extension user.",
                              "Required": true,
                              "Type": "string"
                            },
                            {
                              "#name": "resourceId",
                              "Description": "The Communication Services resource Id.",
                              "Required": true,
                              "Type": "string"
                            },
                            {
                              "#name": "cloud",
                              "Description": "The cloud that the Microsoft Teams Extension user belongs to. By default 'public' if missing.",
                              "Enum": [
                                [
                                  "public",
                                  ""
                                ],
                                [
                                  "dod",
                                  ""
                                ],
                                [
                                  "gcch",
                                  ""
                                ]
                              ],
                              "Required": false,
                              "Type": "string"
                            }
                          ]
                        }
                      }
                    ]
                  }
                }
              },
              {
                "initiatorCommunicationIdentifier": [
                  {
                    "#name": "kind",
                    "Enum": {
                      "new": [
                        [
                          "unknown",
                          ""
                        ],
                        [
                          "communicationUser",
                          ""
                        ],
                        [
                          "phoneNumber",
                          ""
                        ],
                        [
                          "microsoftTeamsUser",
                          ""
                        ],
                        [
                          "microsoftTeamsApp",
                          ""
                        ],
                        [
                          "teamsExtensionUser",
                          ""
                        ]
                      ],
                      "old": [
                        [
                          "unknown",
                          ""
                        ],
                        [
                          "communicationUser",
                          ""
                        ],
                        [
                          "phoneNumber",
                          ""
                        ],
                        [
                          "microsoftTeamsUser",
                          ""
                        ],
                        [
                          "microsoftTeamsApp",
                          ""
                        ]
                      ]
                    }
                  },
                  {
                    "phoneNumber": [
                      {
                        "#name": "value",
                        "Description": {
                          "new": "The phone number, usually in E.164 format.",
                          "old": "The phone number in E.164 format."
                        }
                      },
                      {
                        "@added_c1166f94c4f34b2d9d21a17339b46637": {
                          "#name": "isAnonymous",
                          "Description": "True if the phone number is anonymous. By default false if missing. If the phone number is anonymous, the value will be the string 'anonymous'.",
                          "Required": false,
                          "Type": "boolean"
                        }
                      },
                      {
                        "@added_218bedc4c26141158e4832fc344526d9": {
                          "#name": "assertedId",
                          "Description": "The asserted Id of the phone number. An asserted Id gets generated when the same phone number joins the same call more than once.",
                          "Required": false,
                          "Type": "string"
                        }
                      }
                    ]
                  },
                  {
                    "microsoftTeamsUser": [
                      {
                        "#name": "userId",
                        "Description": {
                          "new": "The Id of the Microsoft Teams user. If not anonymous, this is the Entra ID object Id of the user.",
                          "old": "The Id of the Microsoft Teams user. If not anonymous, this is the AAD object Id of the user."
                        }
                      }
                    ]
                  },
                  {
                    "@added_ba00c9becb224f61b175afd44ab01f19": {
                      "#name": "teamsExtensionUser",
                      "Description": "The Microsoft Teams Extension user.",
                      "Required": false,
                      "Type": "object",
                      "$properties": [
                        {
                          "#name": "userId",
                          "Description": "The Id of the Microsoft Teams Extension user, i.e. the Entra ID object Id of the user.",
                          "Required": true,
                          "Type": "string"
                        },
                        {
                          "#name": "tenantId",
                          "Description": "The tenant Id of the Microsoft Teams Extension user.",
                          "Required": true,
                          "Type": "string"
                        },
                        {
                          "#name": "resourceId",
                          "Description": "The Communication Services resource Id.",
                          "Required": true,
                          "Type": "string"
                        },
                        {
                          "#name": "cloud",
                          "Description": "The cloud that the Microsoft Teams Extension user belongs to. By default 'public' if missing.",
                          "Enum": [
                            [
                              "public",
                              ""
                            ],
                            [
                              "dod",
                              ""
                            ],
                            [
                              "gcch",
                              ""
                            ]
                          ],
                          "Required": false,
                          "Type": "string"
                        }
                      ]
                    }
                  }
                ]
              }
            ],
            "senderCommunicationIdentifier": [
              {
                "#name": "kind",
                "Enum": {
                  "new": [
                    [
                      "unknown",
                      ""
                    ],
                    [
                      "communicationUser",
                      ""
                    ],
                    [
                      "phoneNumber",
                      ""
                    ],
                    [
                      "microsoftTeamsUser",
                      ""
                    ],
                    [
                      "microsoftTeamsApp",
                      ""
                    ],
                    [
                      "teamsExtensionUser",
                      ""
                    ]
                  ],
                  "old": [
                    [
                      "unknown",
                      ""
                    ],
                    [
                      "communicationUser",
                      ""
                    ],
                    [
                      "phoneNumber",
                      ""
                    ],
                    [
                      "microsoftTeamsUser",
                      ""
                    ],
                    [
                      "microsoftTeamsApp",
                      ""
                    ]
                  ]
                }
              },
              {
                "phoneNumber": [
                  {
                    "#name": "value",
                    "Description": {
                      "new": "The phone number, usually in E.164 format.",
                      "old": "The phone number in E.164 format."
                    }
                  },
                  {
                    "@added_d3badd83667046bcbc20e8a189d72909": {
                      "#name": "isAnonymous",
                      "Description": "True if the phone number is anonymous. By default false if missing. If the phone number is anonymous, the value will be the string 'anonymous'.",
                      "Required": false,
                      "Type": "boolean"
                    }
                  },
                  {
                    "@added_5a87003d0ab64087a5640b1b29cd2599": {
                      "#name": "assertedId",
                      "Description": "The asserted Id of the phone number. An asserted Id gets generated when the same phone number joins the same call more than once.",
                      "Required": false,
                      "Type": "string"
                    }
                  }
                ]
              },
              {
                "microsoftTeamsUser": [
                  {
                    "#name": "userId",
                    "Description": {
                      "new": "The Id of the Microsoft Teams user. If not anonymous, this is the Entra ID object Id of the user.",
                      "old": "The Id of the Microsoft Teams user. If not anonymous, this is the AAD object Id of the user."
                    }
                  }
                ]
              },
              {
                "@added_5a6cda6e492046719931ea73838576f9": {
                  "#name": "teamsExtensionUser",
                  "Description": "The Microsoft Teams Extension user.",
                  "Required": false,
                  "Type": "object",
                  "$properties": [
                    {
                      "#name": "userId",
                      "Description": "The Id of the Microsoft Teams Extension user, i.e. the Entra ID object Id of the user.",
                      "Required": true,
                      "Type": "string"
                    },
                    {
                      "#name": "tenantId",
                      "Description": "The tenant Id of the Microsoft Teams Extension user.",
                      "Required": true,
                      "Type": "string"
                    },
                    {
                      "#name": "resourceId",
                      "Description": "The Communication Services resource Id.",
                      "Required": true,
                      "Type": "string"
                    },
                    {
                      "#name": "cloud",
                      "Description": "The cloud that the Microsoft Teams Extension user belongs to. By default 'public' if missing.",
                      "Enum": [
                        [
                          "public",
                          ""
                        ],
                        [
                          "dod",
                          ""
                        ],
                        [
                          "gcch",
                          ""
                        ]
                      ],
                      "Required": false,
                      "Type": "string"
                    }
                  ]
                }
              }
            ]
          }
        }
      }
    }
  }
}

⚼ Request

GET:  /chat/threads/{chatThreadId}/messages
{
chatThreadId: string ,
maxPageSize: integer ,
startTime: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
id: string ,
type: enum ,
sequenceId: string ,
version: string ,
content:
{
message: string ,
topic: string ,
participants:
[
{
communicationIdentifier:
{
kind: enum ,
rawId: string ,
communicationUser:
{
id: string ,
}
,
phoneNumber:
{
value: string ,
isAnonymous: boolean ,
assertedId: string ,
}
,
microsoftTeamsUser:
{
userId: string ,
isAnonymous: boolean ,
cloud: enum ,
}
,
microsoftTeamsApp:
{
appId: string ,
cloud: enum ,
}
,
teamsExtensionUser:
{
userId: string ,
tenantId: string ,
resourceId: string ,
cloud: enum ,
}
,
}
,
displayName: string ,
shareHistoryTime: string ,
metadata: object ,
}
,
]
,
attachments:
[
{
id: string ,
attachmentType: enum ,
name: string ,
url: string ,
previewUrl: string ,
}
,
]
,
initiatorCommunicationIdentifier:
{
kind: enum ,
rawId: string ,
communicationUser:
{
id: string ,
}
,
phoneNumber:
{
value: string ,
isAnonymous: boolean ,
assertedId: string ,
}
,
microsoftTeamsUser:
{
userId: string ,
isAnonymous: boolean ,
cloud: enum ,
}
,
microsoftTeamsApp:
{
appId: string ,
cloud: enum ,
}
,
teamsExtensionUser:
{
userId: string ,
tenantId: string ,
resourceId: string ,
cloud: enum ,
}
,
}
,
}
,
senderDisplayName: string ,
createdOn: string ,
senderCommunicationIdentifier:
{
kind: enum ,
rawId: string ,
communicationUser:
{
id: string ,
}
,
phoneNumber:
{
value: string ,
isAnonymous: boolean ,
assertedId: string ,
}
,
microsoftTeamsUser:
{
userId: string ,
isAnonymous: boolean ,
cloud: enum ,
}
,
microsoftTeamsApp:
{
appId: string ,
cloud: enum ,
}
,
teamsExtensionUser:
{
userId: string ,
tenantId: string ,
resourceId: string ,
cloud: enum ,
}
,
}
,
deletedOn: string ,
editedOn: string ,
metadata: object ,
}
,
]
,
nextLink: string ,
}

⚐ Response (401)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror: string ,
}
,
}

⚐ Response (403)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror: string ,
}
,
}

⚐ Response (429)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror: string ,
}
,
}

⚐ Response (503)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror: string ,
}
,
}
ChatThread_GetChatMessage (updated)
Description Gets a message by id.
Reference Link ¶

⚶ Changes

{
  "#id": "ChatThread_GetChatMessage",
  "$responses": {
    "200": {
      "$properties": {
        "content": [
          {
            "participants": {
              "$properties": {
                "communicationIdentifier": [
                  {
                    "#name": "kind",
                    "Enum": {
                      "new": [
                        [
                          "unknown",
                          ""
                        ],
                        [
                          "communicationUser",
                          ""
                        ],
                        [
                          "phoneNumber",
                          ""
                        ],
                        [
                          "microsoftTeamsUser",
                          ""
                        ],
                        [
                          "microsoftTeamsApp",
                          ""
                        ],
                        [
                          "teamsExtensionUser",
                          ""
                        ]
                      ],
                      "old": [
                        [
                          "unknown",
                          ""
                        ],
                        [
                          "communicationUser",
                          ""
                        ],
                        [
                          "phoneNumber",
                          ""
                        ],
                        [
                          "microsoftTeamsUser",
                          ""
                        ],
                        [
                          "microsoftTeamsApp",
                          ""
                        ]
                      ]
                    }
                  },
                  {
                    "phoneNumber": [
                      {
                        "#name": "value",
                        "Description": {
                          "new": "The phone number, usually in E.164 format.",
                          "old": "The phone number in E.164 format."
                        }
                      },
                      {
                        "@added_b65b04b27ea543198064c8c9c9ac8f13": {
                          "#name": "isAnonymous",
                          "Description": "True if the phone number is anonymous. By default false if missing. If the phone number is anonymous, the value will be the string 'anonymous'.",
                          "Required": false,
                          "Type": "boolean"
                        }
                      },
                      {
                        "@added_989c53b272b04e39a9210fe70afa3e40": {
                          "#name": "assertedId",
                          "Description": "The asserted Id of the phone number. An asserted Id gets generated when the same phone number joins the same call more than once.",
                          "Required": false,
                          "Type": "string"
                        }
                      }
                    ]
                  },
                  {
                    "microsoftTeamsUser": [
                      {
                        "#name": "userId",
                        "Description": {
                          "new": "The Id of the Microsoft Teams user. If not anonymous, this is the Entra ID object Id of the user.",
                          "old": "The Id of the Microsoft Teams user. If not anonymous, this is the AAD object Id of the user."
                        }
                      }
                    ]
                  },
                  {
                    "@added_45357db9e61748a995edec93922c2ef3": {
                      "#name": "teamsExtensionUser",
                      "Description": "The Microsoft Teams Extension user.",
                      "Required": false,
                      "Type": "object",
                      "$properties": [
                        {
                          "#name": "userId",
                          "Description": "The Id of the Microsoft Teams Extension user, i.e. the Entra ID object Id of the user.",
                          "Required": true,
                          "Type": "string"
                        },
                        {
                          "#name": "tenantId",
                          "Description": "The tenant Id of the Microsoft Teams Extension user.",
                          "Required": true,
                          "Type": "string"
                        },
                        {
                          "#name": "resourceId",
                          "Description": "The Communication Services resource Id.",
                          "Required": true,
                          "Type": "string"
                        },
                        {
                          "#name": "cloud",
                          "Description": "The cloud that the Microsoft Teams Extension user belongs to. By default 'public' if missing.",
                          "Enum": [
                            [
                              "public",
                              ""
                            ],
                            [
                              "dod",
                              ""
                            ],
                            [
                              "gcch",
                              ""
                            ]
                          ],
                          "Required": false,
                          "Type": "string"
                        }
                      ]
                    }
                  }
                ]
              }
            }
          },
          {
            "initiatorCommunicationIdentifier": [
              {
                "#name": "kind",
                "Enum": {
                  "new": [
                    [
                      "unknown",
                      ""
                    ],
                    [
                      "communicationUser",
                      ""
                    ],
                    [
                      "phoneNumber",
                      ""
                    ],
                    [
                      "microsoftTeamsUser",
                      ""
                    ],
                    [
                      "microsoftTeamsApp",
                      ""
                    ],
                    [
                      "teamsExtensionUser",
                      ""
                    ]
                  ],
                  "old": [
                    [
                      "unknown",
                      ""
                    ],
                    [
                      "communicationUser",
                      ""
                    ],
                    [
                      "phoneNumber",
                      ""
                    ],
                    [
                      "microsoftTeamsUser",
                      ""
                    ],
                    [
                      "microsoftTeamsApp",
                      ""
                    ]
                  ]
                }
              },
              {
                "phoneNumber": [
                  {
                    "#name": "value",
                    "Description": {
                      "new": "The phone number, usually in E.164 format.",
                      "old": "The phone number in E.164 format."
                    }
                  },
                  {
                    "@added_224bf070df7d4dc3a9972bbf39d60334": {
                      "#name": "isAnonymous",
                      "Description": "True if the phone number is anonymous. By default false if missing. If the phone number is anonymous, the value will be the string 'anonymous'.",
                      "Required": false,
                      "Type": "boolean"
                    }
                  },
                  {
                    "@added_fb605a05243e450f898b183609de1dcd": {
                      "#name": "assertedId",
                      "Description": "The asserted Id of the phone number. An asserted Id gets generated when the same phone number joins the same call more than once.",
                      "Required": false,
                      "Type": "string"
                    }
                  }
                ]
              },
              {
                "microsoftTeamsUser": [
                  {
                    "#name": "userId",
                    "Description": {
                      "new": "The Id of the Microsoft Teams user. If not anonymous, this is the Entra ID object Id of the user.",
                      "old": "The Id of the Microsoft Teams user. If not anonymous, this is the AAD object Id of the user."
                    }
                  }
                ]
              },
              {
                "@added_54bc8170ee8246da8c8a8a6dcd467ae8": {
                  "#name": "teamsExtensionUser",
                  "Description": "The Microsoft Teams Extension user.",
                  "Required": false,
                  "Type": "object",
                  "$properties": [
                    {
                      "#name": "userId",
                      "Description": "The Id of the Microsoft Teams Extension user, i.e. the Entra ID object Id of the user.",
                      "Required": true,
                      "Type": "string"
                    },
                    {
                      "#name": "tenantId",
                      "Description": "The tenant Id of the Microsoft Teams Extension user.",
                      "Required": true,
                      "Type": "string"
                    },
                    {
                      "#name": "resourceId",
                      "Description": "The Communication Services resource Id.",
                      "Required": true,
                      "Type": "string"
                    },
                    {
                      "#name": "cloud",
                      "Description": "The cloud that the Microsoft Teams Extension user belongs to. By default 'public' if missing.",
                      "Enum": [
                        [
                          "public",
                          ""
                        ],
                        [
                          "dod",
                          ""
                        ],
                        [
                          "gcch",
                          ""
                        ]
                      ],
                      "Required": false,
                      "Type": "string"
                    }
                  ]
                }
              }
            ]
          }
        ],
        "senderCommunicationIdentifier": [
          {
            "#name": "kind",
            "Enum": {
              "new": [
                [
                  "unknown",
                  ""
                ],
                [
                  "communicationUser",
                  ""
                ],
                [
                  "phoneNumber",
                  ""
                ],
                [
                  "microsoftTeamsUser",
                  ""
                ],
                [
                  "microsoftTeamsApp",
                  ""
                ],
                [
                  "teamsExtensionUser",
                  ""
                ]
              ],
              "old": [
                [
                  "unknown",
                  ""
                ],
                [
                  "communicationUser",
                  ""
                ],
                [
                  "phoneNumber",
                  ""
                ],
                [
                  "microsoftTeamsUser",
                  ""
                ],
                [
                  "microsoftTeamsApp",
                  ""
                ]
              ]
            }
          },
          {
            "phoneNumber": [
              {
                "#name": "value",
                "Description": {
                  "new": "The phone number, usually in E.164 format.",
                  "old": "The phone number in E.164 format."
                }
              },
              {
                "@added_0af8a42473454167b53c9a84c81c9288": {
                  "#name": "isAnonymous",
                  "Description": "True if the phone number is anonymous. By default false if missing. If the phone number is anonymous, the value will be the string 'anonymous'.",
                  "Required": false,
                  "Type": "boolean"
                }
              },
              {
                "@added_cc914ffec0e54d17b1a274217af071a9": {
                  "#name": "assertedId",
                  "Description": "The asserted Id of the phone number. An asserted Id gets generated when the same phone number joins the same call more than once.",
                  "Required": false,
                  "Type": "string"
                }
              }
            ]
          },
          {
            "microsoftTeamsUser": [
              {
                "#name": "userId",
                "Description": {
                  "new": "The Id of the Microsoft Teams user. If not anonymous, this is the Entra ID object Id of the user.",
                  "old": "The Id of the Microsoft Teams user. If not anonymous, this is the AAD object Id of the user."
                }
              }
            ]
          },
          {
            "@added_d62a599ac62940cc9353af5d45dbb42f": {
              "#name": "teamsExtensionUser",
              "Description": "The Microsoft Teams Extension user.",
              "Required": false,
              "Type": "object",
              "$properties": [
                {
                  "#name": "userId",
                  "Description": "The Id of the Microsoft Teams Extension user, i.e. the Entra ID object Id of the user.",
                  "Required": true,
                  "Type": "string"
                },
                {
                  "#name": "tenantId",
                  "Description": "The tenant Id of the Microsoft Teams Extension user.",
                  "Required": true,
                  "Type": "string"
                },
                {
                  "#name": "resourceId",
                  "Description": "The Communication Services resource Id.",
                  "Required": true,
                  "Type": "string"
                },
                {
                  "#name": "cloud",
                  "Description": "The cloud that the Microsoft Teams Extension user belongs to. By default 'public' if missing.",
                  "Enum": [
                    [
                      "public",
                      ""
                    ],
                    [
                      "dod",
                      ""
                    ],
                    [
                      "gcch",
                      ""
                    ]
                  ],
                  "Required": false,
                  "Type": "string"
                }
              ]
            }
          }
        ]
      }
    }
  }
}

⚼ Request

GET:  /chat/threads/{chatThreadId}/messages/{chatMessageId}
{
chatThreadId: string ,
chatMessageId: string ,
api-version: string ,
}

⚐ Response (200)

{
id: string ,
type: enum ,
sequenceId: string ,
version: string ,
content:
{
message: string ,
topic: string ,
participants:
[
{
communicationIdentifier:
{
kind: enum ,
rawId: string ,
communicationUser:
{
id: string ,
}
,
phoneNumber:
{
value: string ,
isAnonymous: boolean ,
assertedId: string ,
}
,
microsoftTeamsUser:
{
userId: string ,
isAnonymous: boolean ,
cloud: enum ,
}
,
microsoftTeamsApp:
{
appId: string ,
cloud: enum ,
}
,
teamsExtensionUser:
{
userId: string ,
tenantId: string ,
resourceId: string ,
cloud: enum ,
}
,
}
,
displayName: string ,
shareHistoryTime: string ,
metadata: object ,
}
,
]
,
attachments:
[
{
id: string ,
attachmentType: enum ,
name: string ,
url: string ,
previewUrl: string ,
}
,
]
,
initiatorCommunicationIdentifier:
{
kind: enum ,
rawId: string ,
communicationUser:
{
id: string ,
}
,
phoneNumber:
{
value: string ,
isAnonymous: boolean ,
assertedId: string ,
}
,
microsoftTeamsUser:
{
userId: string ,
isAnonymous: boolean ,
cloud: enum ,
}
,
microsoftTeamsApp:
{
appId: string ,
cloud: enum ,
}
,
teamsExtensionUser:
{
userId: string ,
tenantId: string ,
resourceId: string ,
cloud: enum ,
}
,
}
,
}
,
senderDisplayName: string ,
createdOn: string ,
senderCommunicationIdentifier:
{
kind: enum ,
rawId: string ,
communicationUser:
{
id: string ,
}
,
phoneNumber:
{
value: string ,
isAnonymous: boolean ,
assertedId: string ,
}
,
microsoftTeamsUser:
{
userId: string ,
isAnonymous: boolean ,
cloud: enum ,
}
,
microsoftTeamsApp:
{
appId: string ,
cloud: enum ,
}
,
teamsExtensionUser:
{
userId: string ,
tenantId: string ,
resourceId: string ,
cloud: enum ,
}
,
}
,
deletedOn: string ,
editedOn: string ,
metadata: object ,
}

⚐ Response (401)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror: string ,
}
,
}

⚐ Response (403)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror: string ,
}
,
}

⚐ Response (429)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror: string ,
}
,
}

⚐ Response (503)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror: string ,
}
,
}
ChatThread_ListChatParticipants (updated)
Description Gets the participants of a thread.
Reference Link ¶

⚶ Changes

{
  "#id": "ChatThread_ListChatParticipants",
  "$responses": {
    "200": {
      "$properties": {
        "value": {
          "$properties": {
            "communicationIdentifier": [
              {
                "#name": "kind",
                "Enum": {
                  "new": [
                    [
                      "unknown",
                      ""
                    ],
                    [
                      "communicationUser",
                      ""
                    ],
                    [
                      "phoneNumber",
                      ""
                    ],
                    [
                      "microsoftTeamsUser",
                      ""
                    ],
                    [
                      "microsoftTeamsApp",
                      ""
                    ],
                    [
                      "teamsExtensionUser",
                      ""
                    ]
                  ],
                  "old": [
                    [
                      "unknown",
                      ""
                    ],
                    [
                      "communicationUser",
                      ""
                    ],
                    [
                      "phoneNumber",
                      ""
                    ],
                    [
                      "microsoftTeamsUser",
                      ""
                    ],
                    [
                      "microsoftTeamsApp",
                      ""
                    ]
                  ]
                }
              },
              {
                "phoneNumber": [
                  {
                    "#name": "value",
                    "Description": {
                      "new": "The phone number, usually in E.164 format.",
                      "old": "The phone number in E.164 format."
                    }
                  },
                  {
                    "@added_1f915e649050474ea8e0769b3e87a32b": {
                      "#name": "isAnonymous",
                      "Description": "True if the phone number is anonymous. By default false if missing. If the phone number is anonymous, the value will be the string 'anonymous'.",
                      "Required": false,
                      "Type": "boolean"
                    }
                  },
                  {
                    "@added_d8f7e5363745453a827f1069f469d016": {
                      "#name": "assertedId",
                      "Description": "The asserted Id of the phone number. An asserted Id gets generated when the same phone number joins the same call more than once.",
                      "Required": false,
                      "Type": "string"
                    }
                  }
                ]
              },
              {
                "microsoftTeamsUser": [
                  {
                    "#name": "userId",
                    "Description": {
                      "new": "The Id of the Microsoft Teams user. If not anonymous, this is the Entra ID object Id of the user.",
                      "old": "The Id of the Microsoft Teams user. If not anonymous, this is the AAD object Id of the user."
                    }
                  }
                ]
              },
              {
                "@added_2b19d6c72e974792b2b0ad8c05542e6f": {
                  "#name": "teamsExtensionUser",
                  "Description": "The Microsoft Teams Extension user.",
                  "Required": false,
                  "Type": "object",
                  "$properties": [
                    {
                      "#name": "userId",
                      "Description": "The Id of the Microsoft Teams Extension user, i.e. the Entra ID object Id of the user.",
                      "Required": true,
                      "Type": "string"
                    },
                    {
                      "#name": "tenantId",
                      "Description": "The tenant Id of the Microsoft Teams Extension user.",
                      "Required": true,
                      "Type": "string"
                    },
                    {
                      "#name": "resourceId",
                      "Description": "The Communication Services resource Id.",
                      "Required": true,
                      "Type": "string"
                    },
                    {
                      "#name": "cloud",
                      "Description": "The cloud that the Microsoft Teams Extension user belongs to. By default 'public' if missing.",
                      "Enum": [
                        [
                          "public",
                          ""
                        ],
                        [
                          "dod",
                          ""
                        ],
                        [
                          "gcch",
                          ""
                        ]
                      ],
                      "Required": false,
                      "Type": "string"
                    }
                  ]
                }
              }
            ]
          }
        }
      }
    }
  }
}

⚼ Request

GET:  /chat/threads/{chatThreadId}/participants
{
chatThreadId: string ,
maxPageSize: integer ,
skip: integer ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
communicationIdentifier:
{
kind: enum ,
rawId: string ,
communicationUser:
{
id: string ,
}
,
phoneNumber:
{
value: string ,
isAnonymous: boolean ,
assertedId: string ,
}
,
microsoftTeamsUser:
{
userId: string ,
isAnonymous: boolean ,
cloud: enum ,
}
,
microsoftTeamsApp:
{
appId: string ,
cloud: enum ,
}
,
teamsExtensionUser:
{
userId: string ,
tenantId: string ,
resourceId: string ,
cloud: enum ,
}
,
}
,
displayName: string ,
shareHistoryTime: string ,
metadata: object ,
}
,
]
,
nextLink: string ,
}

⚐ Response (401)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror: string ,
}
,
}

⚐ Response (403)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror: string ,
}
,
}

⚐ Response (429)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror: string ,
}
,
}

⚐ Response (503)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror: string ,
}
,
}
ChatThread_RemoveChatParticipant (updated)
Description Remove a participant from a thread.
Reference Link ¶

⚶ Changes

{
  "#id": "ChatThread_RemoveChatParticipant",
  "$parameters": {
    "participantCommunicationIdentifier": {
      "$properties": [
        {
          "#name": "kind",
          "Enum": {
            "new": [
              [
                "unknown",
                ""
              ],
              [
                "communicationUser",
                ""
              ],
              [
                "phoneNumber",
                ""
              ],
              [
                "microsoftTeamsUser",
                ""
              ],
              [
                "microsoftTeamsApp",
                ""
              ],
              [
                "teamsExtensionUser",
                ""
              ]
            ],
            "old": [
              [
                "unknown",
                ""
              ],
              [
                "communicationUser",
                ""
              ],
              [
                "phoneNumber",
                ""
              ],
              [
                "microsoftTeamsUser",
                ""
              ],
              [
                "microsoftTeamsApp",
                ""
              ]
            ]
          }
        },
        {
          "phoneNumber": [
            {
              "#name": "value",
              "Description": {
                "new": "The phone number, usually in E.164 format.",
                "old": "The phone number in E.164 format."
              }
            },
            {
              "@added_d19a9dfa791043a0bece9482f18de8e6": {
                "#name": "isAnonymous",
                "Description": "True if the phone number is anonymous. By default false if missing. If the phone number is anonymous, the value will be the string 'anonymous'.",
                "Required": false,
                "Type": "boolean"
              }
            },
            {
              "@added_f70c7bd39e1c4fa7adba234a239416eb": {
                "#name": "assertedId",
                "Description": "The asserted Id of the phone number. An asserted Id gets generated when the same phone number joins the same call more than once.",
                "Required": false,
                "Type": "string"
              }
            }
          ]
        },
        {
          "microsoftTeamsUser": [
            {
              "#name": "userId",
              "Description": {
                "new": "The Id of the Microsoft Teams user. If not anonymous, this is the Entra ID object Id of the user.",
                "old": "The Id of the Microsoft Teams user. If not anonymous, this is the AAD object Id of the user."
              }
            }
          ]
        },
        {
          "@added_f4cb85430263419fb5753916adec6eff": {
            "#name": "teamsExtensionUser",
            "Description": "The Microsoft Teams Extension user.",
            "Required": false,
            "Type": "object",
            "$properties": [
              {
                "#name": "userId",
                "Description": "The Id of the Microsoft Teams Extension user, i.e. the Entra ID object Id of the user.",
                "Required": true,
                "Type": "string"
              },
              {
                "#name": "tenantId",
                "Description": "The tenant Id of the Microsoft Teams Extension user.",
                "Required": true,
                "Type": "string"
              },
              {
                "#name": "resourceId",
                "Description": "The Communication Services resource Id.",
                "Required": true,
                "Type": "string"
              },
              {
                "#name": "cloud",
                "Description": "The cloud that the Microsoft Teams Extension user belongs to. By default 'public' if missing.",
                "Enum": [
                  [
                    "public",
                    ""
                  ],
                  [
                    "dod",
                    ""
                  ],
                  [
                    "gcch",
                    ""
                  ]
                ],
                "Required": false,
                "Type": "string"
              }
            ]
          }
        }
      ]
    }
  }
}

⚼ Request

POST:  /chat/threads/{chatThreadId}/participants/:remove
{
chatThreadId: string ,
api-version: string ,
participantCommunicationIdentifier:
{
kind: enum ,
rawId: string ,
communicationUser:
{
id: string ,
}
,
phoneNumber:
{
value: string ,
isAnonymous: boolean ,
assertedId: string ,
}
,
microsoftTeamsUser:
{
userId: string ,
isAnonymous: boolean ,
cloud: enum ,
}
,
microsoftTeamsApp:
{
appId: string ,
cloud: enum ,
}
,
teamsExtensionUser:
{
userId: string ,
tenantId: string ,
resourceId: string ,
cloud: enum ,
}
,
}
,
}

⚐ Response (204)

{}

⚐ Response (401)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror: string ,
}
,
}

⚐ Response (403)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror: string ,
}
,
}

⚐ Response (429)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror: string ,
}
,
}

⚐ Response (503)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror: string ,
}
,
}
ChatThread_AddChatParticipants (updated)
Description Adds thread participants to a thread. If participants already exist, no change occurs.
Reference Link ¶

⚶ Changes

{
  "#id": "ChatThread_AddChatParticipants",
  "$parameters": {
    "addChatParticipantsRequest": {
      "$properties": {
        "participants": {
          "$properties": {
            "communicationIdentifier": [
              {
                "#name": "kind",
                "Enum": {
                  "new": [
                    [
                      "unknown",
                      ""
                    ],
                    [
                      "communicationUser",
                      ""
                    ],
                    [
                      "phoneNumber",
                      ""
                    ],
                    [
                      "microsoftTeamsUser",
                      ""
                    ],
                    [
                      "microsoftTeamsApp",
                      ""
                    ],
                    [
                      "teamsExtensionUser",
                      ""
                    ]
                  ],
                  "old": [
                    [
                      "unknown",
                      ""
                    ],
                    [
                      "communicationUser",
                      ""
                    ],
                    [
                      "phoneNumber",
                      ""
                    ],
                    [
                      "microsoftTeamsUser",
                      ""
                    ],
                    [
                      "microsoftTeamsApp",
                      ""
                    ]
                  ]
                }
              },
              {
                "phoneNumber": [
                  {
                    "#name": "value",
                    "Description": {
                      "new": "The phone number, usually in E.164 format.",
                      "old": "The phone number in E.164 format."
                    }
                  },
                  {
                    "@added_3dff1874c2bf4a4bb3c335d6c3bb76bf": {
                      "#name": "isAnonymous",
                      "Description": "True if the phone number is anonymous. By default false if missing. If the phone number is anonymous, the value will be the string 'anonymous'.",
                      "Required": false,
                      "Type": "boolean"
                    }
                  },
                  {
                    "@added_c3d0d6f657b64955a3a1e8a85b765394": {
                      "#name": "assertedId",
                      "Description": "The asserted Id of the phone number. An asserted Id gets generated when the same phone number joins the same call more than once.",
                      "Required": false,
                      "Type": "string"
                    }
                  }
                ]
              },
              {
                "microsoftTeamsUser": [
                  {
                    "#name": "userId",
                    "Description": {
                      "new": "The Id of the Microsoft Teams user. If not anonymous, this is the Entra ID object Id of the user.",
                      "old": "The Id of the Microsoft Teams user. If not anonymous, this is the AAD object Id of the user."
                    }
                  }
                ]
              },
              {
                "@added_80e13694b24c482ead25e57232cf2601": {
                  "#name": "teamsExtensionUser",
                  "Description": "The Microsoft Teams Extension user.",
                  "Required": false,
                  "Type": "object",
                  "$properties": [
                    {
                      "#name": "userId",
                      "Description": "The Id of the Microsoft Teams Extension user, i.e. the Entra ID object Id of the user.",
                      "Required": true,
                      "Type": "string"
                    },
                    {
                      "#name": "tenantId",
                      "Description": "The tenant Id of the Microsoft Teams Extension user.",
                      "Required": true,
                      "Type": "string"
                    },
                    {
                      "#name": "resourceId",
                      "Description": "The Communication Services resource Id.",
                      "Required": true,
                      "Type": "string"
                    },
                    {
                      "#name": "cloud",
                      "Description": "The cloud that the Microsoft Teams Extension user belongs to. By default 'public' if missing.",
                      "Enum": [
                        [
                          "public",
                          ""
                        ],
                        [
                          "dod",
                          ""
                        ],
                        [
                          "gcch",
                          ""
                        ]
                      ],
                      "Required": false,
                      "Type": "string"
                    }
                  ]
                }
              }
            ]
          }
        }
      }
    }
  }
}

⚼ Request

POST:  /chat/threads/{chatThreadId}/participants/:add
{
chatThreadId: string ,
api-version: string ,
addChatParticipantsRequest:
{
participants:
[
{
communicationIdentifier:
{
kind: enum ,
rawId: string ,
communicationUser:
{
id: string ,
}
,
phoneNumber:
{
value: string ,
isAnonymous: boolean ,
assertedId: string ,
}
,
microsoftTeamsUser:
{
userId: string ,
isAnonymous: boolean ,
cloud: enum ,
}
,
microsoftTeamsApp:
{
appId: string ,
cloud: enum ,
}
,
teamsExtensionUser:
{
userId: string ,
tenantId: string ,
resourceId: string ,
cloud: enum ,
}
,
}
,
displayName: string ,
shareHistoryTime: string ,
metadata: object ,
}
,
]
,
}
,
}

⚐ Response (201)

{
invalidParticipants:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror: string ,
}
,
]
,
}

⚐ Response (401)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror: string ,
}
,
}

⚐ Response (403)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror: string ,
}
,
}

⚐ Response (429)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror: string ,
}
,
}

⚐ Response (503)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror: string ,
}
,
}
Chat_CreateChatThread (updated)
Description Creates a chat thread.
Reference Link ¶

⚶ Changes

{
  "#id": "Chat_CreateChatThread",
  "$parameters": {
    "createChatThreadRequest": {
      "$properties": {
        "participants": {
          "$properties": {
            "communicationIdentifier": [
              {
                "#name": "kind",
                "Enum": {
                  "new": [
                    [
                      "unknown",
                      ""
                    ],
                    [
                      "communicationUser",
                      ""
                    ],
                    [
                      "phoneNumber",
                      ""
                    ],
                    [
                      "microsoftTeamsUser",
                      ""
                    ],
                    [
                      "microsoftTeamsApp",
                      ""
                    ],
                    [
                      "teamsExtensionUser",
                      ""
                    ]
                  ],
                  "old": [
                    [
                      "unknown",
                      ""
                    ],
                    [
                      "communicationUser",
                      ""
                    ],
                    [
                      "phoneNumber",
                      ""
                    ],
                    [
                      "microsoftTeamsUser",
                      ""
                    ],
                    [
                      "microsoftTeamsApp",
                      ""
                    ]
                  ]
                }
              },
              {
                "phoneNumber": [
                  {
                    "#name": "value",
                    "Description": {
                      "new": "The phone number, usually in E.164 format.",
                      "old": "The phone number in E.164 format."
                    }
                  },
                  {
                    "@added_53cad1799aa84e70a87710a7150c8d4d": {
                      "#name": "isAnonymous",
                      "Description": "True if the phone number is anonymous. By default false if missing. If the phone number is anonymous, the value will be the string 'anonymous'.",
                      "Required": false,
                      "Type": "boolean"
                    }
                  },
                  {
                    "@added_d4aae759d1e74670b3aa13f1eb86569d": {
                      "#name": "assertedId",
                      "Description": "The asserted Id of the phone number. An asserted Id gets generated when the same phone number joins the same call more than once.",
                      "Required": false,
                      "Type": "string"
                    }
                  }
                ]
              },
              {
                "microsoftTeamsUser": [
                  {
                    "#name": "userId",
                    "Description": {
                      "new": "The Id of the Microsoft Teams user. If not anonymous, this is the Entra ID object Id of the user.",
                      "old": "The Id of the Microsoft Teams user. If not anonymous, this is the AAD object Id of the user."
                    }
                  }
                ]
              },
              {
                "@added_5d007c533c4d4b8580ffa6a784950a3f": {
                  "#name": "teamsExtensionUser",
                  "Description": "The Microsoft Teams Extension user.",
                  "Required": false,
                  "Type": "object",
                  "$properties": [
                    {
                      "#name": "userId",
                      "Description": "The Id of the Microsoft Teams Extension user, i.e. the Entra ID object Id of the user.",
                      "Required": true,
                      "Type": "string"
                    },
                    {
                      "#name": "tenantId",
                      "Description": "The tenant Id of the Microsoft Teams Extension user.",
                      "Required": true,
                      "Type": "string"
                    },
                    {
                      "#name": "resourceId",
                      "Description": "The Communication Services resource Id.",
                      "Required": true,
                      "Type": "string"
                    },
                    {
                      "#name": "cloud",
                      "Description": "The cloud that the Microsoft Teams Extension user belongs to. By default 'public' if missing.",
                      "Enum": [
                        [
                          "public",
                          ""
                        ],
                        [
                          "dod",
                          ""
                        ],
                        [
                          "gcch",
                          ""
                        ]
                      ],
                      "Required": false,
                      "Type": "string"
                    }
                  ]
                }
              }
            ]
          }
        }
      }
    }
  },
  "$responses": {
    "201": {
      "$properties": {
        "chatThread": [
          {
            "createdByCommunicationIdentifier": [
              {
                "#name": "kind",
                "Enum": {
                  "new": [
                    [
                      "unknown",
                      ""
                    ],
                    [
                      "communicationUser",
                      ""
                    ],
                    [
                      "phoneNumber",
                      ""
                    ],
                    [
                      "microsoftTeamsUser",
                      ""
                    ],
                    [
                      "microsoftTeamsApp",
                      ""
                    ],
                    [
                      "teamsExtensionUser",
                      ""
                    ]
                  ],
                  "old": [
                    [
                      "unknown",
                      ""
                    ],
                    [
                      "communicationUser",
                      ""
                    ],
                    [
                      "phoneNumber",
                      ""
                    ],
                    [
                      "microsoftTeamsUser",
                      ""
                    ],
                    [
                      "microsoftTeamsApp",
                      ""
                    ]
                  ]
                }
              },
              {
                "phoneNumber": [
                  {
                    "#name": "value",
                    "Description": {
                      "new": "The phone number, usually in E.164 format.",
                      "old": "The phone number in E.164 format."
                    }
                  },
                  {
                    "@added_580400f9544a4635b89f625c03cbf207": {
                      "#name": "isAnonymous",
                      "Description": "True if the phone number is anonymous. By default false if missing. If the phone number is anonymous, the value will be the string 'anonymous'.",
                      "Required": false,
                      "Type": "boolean"
                    }
                  },
                  {
                    "@added_1a192af89f3643ecb9ce48b25d5e166a": {
                      "#name": "assertedId",
                      "Description": "The asserted Id of the phone number. An asserted Id gets generated when the same phone number joins the same call more than once.",
                      "Required": false,
                      "Type": "string"
                    }
                  }
                ]
              },
              {
                "microsoftTeamsUser": [
                  {
                    "#name": "userId",
                    "Description": {
                      "new": "The Id of the Microsoft Teams user. If not anonymous, this is the Entra ID object Id of the user.",
                      "old": "The Id of the Microsoft Teams user. If not anonymous, this is the AAD object Id of the user."
                    }
                  }
                ]
              },
              {
                "@added_14989fb70ea44e49b43de12ddc2badad": {
                  "#name": "teamsExtensionUser",
                  "Description": "The Microsoft Teams Extension user.",
                  "Required": false,
                  "Type": "object",
                  "$properties": [
                    {
                      "#name": "userId",
                      "Description": "The Id of the Microsoft Teams Extension user, i.e. the Entra ID object Id of the user.",
                      "Required": true,
                      "Type": "string"
                    },
                    {
                      "#name": "tenantId",
                      "Description": "The tenant Id of the Microsoft Teams Extension user.",
                      "Required": true,
                      "Type": "string"
                    },
                    {
                      "#name": "resourceId",
                      "Description": "The Communication Services resource Id.",
                      "Required": true,
                      "Type": "string"
                    },
                    {
                      "#name": "cloud",
                      "Description": "The cloud that the Microsoft Teams Extension user belongs to. By default 'public' if missing.",
                      "Enum": [
                        [
                          "public",
                          ""
                        ],
                        [
                          "dod",
                          ""
                        ],
                        [
                          "gcch",
                          ""
                        ]
                      ],
                      "Required": false,
                      "Type": "string"
                    }
                  ]
                }
              }
            ]
          }
        ]
      }
    }
  }
}

⚼ Request

POST:  /chat/threads
{
repeatability-request-id: string ,
api-version: string ,
createChatThreadRequest:
{
topic: string ,
participants:
[
{
communicationIdentifier:
{
kind: enum ,
rawId: string ,
communicationUser:
{
id: string ,
}
,
phoneNumber:
{
value: string ,
isAnonymous: boolean ,
assertedId: string ,
}
,
microsoftTeamsUser:
{
userId: string ,
isAnonymous: boolean ,
cloud: enum ,
}
,
microsoftTeamsApp:
{
appId: string ,
cloud: enum ,
}
,
teamsExtensionUser:
{
userId: string ,
tenantId: string ,
resourceId: string ,
cloud: enum ,
}
,
}
,
displayName: string ,
shareHistoryTime: string ,
metadata: object ,
}
,
]
,
metadata: object ,
retentionPolicy:
{
kind: enum ,
}
,
}
,
}

⚐ Response (201)

{
chatThread:
{
id: string ,
topic: string ,
createdOn: string ,
createdByCommunicationIdentifier:
{
kind: enum ,
rawId: string ,
communicationUser:
{
id: string ,
}
,
phoneNumber:
{
value: string ,
isAnonymous: boolean ,
assertedId: string ,
}
,
microsoftTeamsUser:
{
userId: string ,
isAnonymous: boolean ,
cloud: enum ,
}
,
microsoftTeamsApp:
{
appId: string ,
cloud: enum ,
}
,
teamsExtensionUser:
{
userId: string ,
tenantId: string ,
resourceId: string ,
cloud: enum ,
}
,
}
,
deletedOn: string ,
metadata: object ,
retentionPolicy:
{
kind: enum ,
}
,
}
,
invalidParticipants:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror: string ,
}
,
]
,
}

⚐ Response (401)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror: string ,
}
,
}

⚐ Response (403)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror: string ,
}
,
}

⚐ Response (429)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror: string ,
}
,
}

⚐ Response (503)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror: string ,
}
,
}
ChatThread_GetChatThreadProperties (updated)
Description Gets a chat thread's properties.
Reference Link ¶

⚶ Changes

{
  "#id": "ChatThread_GetChatThreadProperties",
  "$responses": {
    "200": {
      "$properties": {
        "createdByCommunicationIdentifier": [
          {
            "#name": "kind",
            "Enum": {
              "new": [
                [
                  "unknown",
                  ""
                ],
                [
                  "communicationUser",
                  ""
                ],
                [
                  "phoneNumber",
                  ""
                ],
                [
                  "microsoftTeamsUser",
                  ""
                ],
                [
                  "microsoftTeamsApp",
                  ""
                ],
                [
                  "teamsExtensionUser",
                  ""
                ]
              ],
              "old": [
                [
                  "unknown",
                  ""
                ],
                [
                  "communicationUser",
                  ""
                ],
                [
                  "phoneNumber",
                  ""
                ],
                [
                  "microsoftTeamsUser",
                  ""
                ],
                [
                  "microsoftTeamsApp",
                  ""
                ]
              ]
            }
          },
          {
            "phoneNumber": [
              {
                "#name": "value",
                "Description": {
                  "new": "The phone number, usually in E.164 format.",
                  "old": "The phone number in E.164 format."
                }
              },
              {
                "@added_2aadb3f96b314ba8b4b61abd9acb9287": {
                  "#name": "isAnonymous",
                  "Description": "True if the phone number is anonymous. By default false if missing. If the phone number is anonymous, the value will be the string 'anonymous'.",
                  "Required": false,
                  "Type": "boolean"
                }
              },
              {
                "@added_55d4f4bd68e54f9fa981185b08c4c9e1": {
                  "#name": "assertedId",
                  "Description": "The asserted Id of the phone number. An asserted Id gets generated when the same phone number joins the same call more than once.",
                  "Required": false,
                  "Type": "string"
                }
              }
            ]
          },
          {
            "microsoftTeamsUser": [
              {
                "#name": "userId",
                "Description": {
                  "new": "The Id of the Microsoft Teams user. If not anonymous, this is the Entra ID object Id of the user.",
                  "old": "The Id of the Microsoft Teams user. If not anonymous, this is the AAD object Id of the user."
                }
              }
            ]
          },
          {
            "@added_2d24f4411e054e32aee8a9069bc39074": {
              "#name": "teamsExtensionUser",
              "Description": "The Microsoft Teams Extension user.",
              "Required": false,
              "Type": "object",
              "$properties": [
                {
                  "#name": "userId",
                  "Description": "The Id of the Microsoft Teams Extension user, i.e. the Entra ID object Id of the user.",
                  "Required": true,
                  "Type": "string"
                },
                {
                  "#name": "tenantId",
                  "Description": "The tenant Id of the Microsoft Teams Extension user.",
                  "Required": true,
                  "Type": "string"
                },
                {
                  "#name": "resourceId",
                  "Description": "The Communication Services resource Id.",
                  "Required": true,
                  "Type": "string"
                },
                {
                  "#name": "cloud",
                  "Description": "The cloud that the Microsoft Teams Extension user belongs to. By default 'public' if missing.",
                  "Enum": [
                    [
                      "public",
                      ""
                    ],
                    [
                      "dod",
                      ""
                    ],
                    [
                      "gcch",
                      ""
                    ]
                  ],
                  "Required": false,
                  "Type": "string"
                }
              ]
            }
          }
        ]
      }
    }
  }
}

⚼ Request

GET:  /chat/threads/{chatThreadId}
{
chatThreadId: string ,
api-version: string ,
}

⚐ Response (200)

{
id: string ,
topic: string ,
createdOn: string ,
createdByCommunicationIdentifier:
{
kind: enum ,
rawId: string ,
communicationUser:
{
id: string ,
}
,
phoneNumber:
{
value: string ,
isAnonymous: boolean ,
assertedId: string ,
}
,
microsoftTeamsUser:
{
userId: string ,
isAnonymous: boolean ,
cloud: enum ,
}
,
microsoftTeamsApp:
{
appId: string ,
cloud: enum ,
}
,
teamsExtensionUser:
{
userId: string ,
tenantId: string ,
resourceId: string ,
cloud: enum ,
}
,
}
,
deletedOn: string ,
metadata: object ,
retentionPolicy:
{
kind: enum ,
}
,
}

⚐ Response (401)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror: string ,
}
,
}

⚐ Response (403)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror: string ,
}
,
}

⚐ Response (429)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror: string ,
}
,
}

⚐ Response (503)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror: string ,
}
,
}